//
//  HomeBidPersonPassTableViewCell.m
//  ZJControlsClass
//
//  Created by apple on 2024/11/3.
//

#import "HomeBidPersonPassTableViewCell.h"

@interface HomeBidPersonPassTableViewCell ()


@property (nonatomic,strong) UIView * layerView;
@property (nonatomic,strong) UIView * V;


@end



@implementation HomeBidPersonPassTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.contentView.backgroundColor = [UIColor clearColor];
//        [self setUpUI];
        
        
        
        
    }
    return self;
}


-(void)setUpUI{
    
    [self.contentView addSubview:self.layerView];
    [self.contentView addSubview:self.V];
    
    [self.layerView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.right.equalTo(self.contentView);
        make.height.equalTo(@(30));
    }];
    
    [self.V mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.equalTo(self.contentView);
        make.height.equalTo(@(15));
        make.top.equalTo(self.layerView.mas_bottom).with.offset(-ALIGN_HEIGHT_PT(15));
    }];
    
    
}





#pragma mark -- 懒加载



-(UIView *)layerView{
    if (!_layerView) {
        _layerView = [UIView new];
        _layerView.backgroundColor = [UIColor whiteColor];
        _layerView.layer.cornerRadius = 15;
        _layerView.layer.masksToBounds = YES;
    }
    return _layerView;
}

-(UIView *)V{
    if (!_V) {
        _V = [UIView new];
        _V.backgroundColor = [UIColor whiteColor];
    }
    return _V;
}




@end
